<table width="100%" class="mod-data">
	<thead>
		<tr>
			<th scope="col">Баг</th>
			<th scope="col">Тухай</th>
			<th scope="col">Он</th>
			<th scope="col">Компани</th>
		</tr>
	</thead>
	<tbody>
	 <?php foreach ($teams as $team):?>
		<tr>
			<td width="20%" align="center" style="text-align:center;">
			 <a href="<?php echo url_for('@team_show?name='.$team) ?>">
			   <?php echo image_tag("/uploads/team/".$team->getDefImg(), array('alt'=>$team, 'style'=>'max-width:150px;max-height:150px;margin:5px 5px 5px 5px;padding:7px 7px 7px 7px;border:1px solid #eee;'))?>
			   <br clear="all">
			   <?php echo $team ?>
			 </a>
			</td>
			<td width="50%"><?php echo $team->getTDescr() ?></td>
			<td width="10%"><?php echo $team->getTYteam() ?></td>
			<td width="20%"><?php echo $team->getTCity() ?></td>
		</tr>
	<?php  endforeach?>
	</tbody>
</table>